package io.renren.modules.oatools.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 *
 * @author xhtang 173101649@qq.com
 * @since 1.0.0 2025-08-25
 */
@Data
@Schema(name = "")
public class DataSourceDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "")
	private String id;

	@SchemaProperty(name = "数据源编码")
	private String code;

	@SchemaProperty(name = "数据源名称")
	private String name;

	@SchemaProperty(name = "备注")
	private String remark;

	@SchemaProperty(name = "数据库类型")
	private String dbType;

	@SchemaProperty(name = "驱动类")
	private String dbDriver;

	@SchemaProperty(name = "数据源地址")
	private String dbUrl;

	@SchemaProperty(name = "数据库名称")
	private String dbName;

	@SchemaProperty(name = "用户名")
	private String dbUsername;

	@SchemaProperty(name = "密码")
	private String dbPassword;

	@SchemaProperty(name = "创建人")
	private String createBy;

	@SchemaProperty(name = "创建日期")
	private Date createTime;

	@SchemaProperty(name = "更新人")
	private String updateBy;

	@SchemaProperty(name = "更新日期")
	private Date updateTime;


}